package br.com.felix.fwt.ui.javascript;


public class NavigateTo extends Javascript {
	
	private String script;
	
	public NavigateTo (Class clazz){
		script = "window.location.href='"+clazz.getSimpleName()+"';";
	}
	
	
	
	@Override
	public String script() {
		return script;
	}
}
